package com.mysoft.gfyx.marketdevelop.mip.dto.TjMetric;

import lombok.Data;

@Data
public class QueryMetricConditionWhereConditionRequestDto {
    public static final String OPERATE_EQ = "=";
    public static final String OPERATE_NEQ = "!=";
    public static final String OPERATE_CONTAIN = "in";
    public static final String OPERATE_NOT_CONTAIN = "not in";
    public static final String OPERATE_NOT_NULL = "is not null";
    public static final String OPERATE_NULL = "is null";
    public static final String OPERATE_LARGER = ">";
    public static final String OPERATE_LARGER_EQ = ">=";
    public static final String OPERATE_LESS = "<";
    public static final String OPERATE_LESS_EQ = "<=";

    public static final Integer VAL_TYPE_STR = 1;
    public static final Integer VAL_TYPE_INT = 2;
    public static final Integer VAL_TYPE_DATE = 3;
    public static final Integer VAL_TYPE_FLOAT = 4;

    private String table;
    private String field;
    private String operate;
    private String val;
    private int val_type;
}
